package com.tianci.de.define;

import android.os.Build;

/**
 * Created by dvlee on 7/10/15.
 */
public class DeviceInfo {
    public static String getChineseName() {
        if (Build.BRAND.toLowerCase().equals("xiaomi")) {
            return "小米 " + Build.DEVICE.toUpperCase();
        } else if (Build.BRAND.toLowerCase().equals("samsung")) {
            return "三星 " + Build.DEVICE.toUpperCase();
        } else if (Build.BRAND.toLowerCase().equals("skyworth")) {
            return "创维 " + Build.DEVICE.toUpperCase();
        } else if (Build.BRAND.toLowerCase().equals("huawei")) {
            return "华为 " + Build.DEVICE.toUpperCase();
        } else if (Build.BRAND.toLowerCase().equals("alps")) {
            return "天猫盒子 " + Build.DEVICE.toUpperCase();
        } else {
            return Build.BRAND.toUpperCase() + " " + Build.DEVICE.toUpperCase();
        }
    }
}
